def get_id_for_feed_entry(playlist_entry):
	#That's tricky but I didn't find any "official" way to do this
	return playlist_entry.id.text.split('/')[-1]
	
def obtain_merged_feed_entries(feed,gdata_service,converter):
	all_entries = []
	while True:
		all_entries += feed.entry
		feed = _get_next_feed(feed,gdata_service,converter)
		if not feed:
			break
	return all_entries

def _get_next_feed(feed,gdata_service,converter):
	for link in feed.link:
		if link.rel == 'next':
			return gdata_service.Get(link.href, converter=converter)
	